Skip to content

feat: Adds k8sObjects event receiver under feature flag#4127

Merged
dhruv-shah-sumo merged 1 commit intomainfrom
sdhruv/k8sobjects_events_receiver
Apr 7, 2026
Merged

feat: Adds k8sObjects event receiver under feature flag#4127
dhruv-shah-sumo merged 1 commit intomainfrom
sdhruv/k8sobjects_events_receiver

Conversation

@dhruv-shah-sumo
Copy link
Copy Markdown
Collaborator

@dhruv-shah-sumo dhruv-shah-sumo commented Apr 5, 2026

  • Adds a new feature flag to switch between raw_k8s_events receiver and k8sObjects receiver for fetching k8s events.
  • Couple of processors are added in order to keep the final log format backward compatible.
  • The new k8sObjects receiver adds the following fields.
  │       Field       │                  Extras in k8sObjects rcv         │
  ├───────────────────┼───────────────────────────────────────────────────┤                                                                                                                  
  │ k8s.resource.name │ "events"                                          │                                                                                                                
  ├───────────────────┼───────────────────────────────────────────────────┤
  │ event.domain      │ "k8s"                                             │
  ├───────────────────┼───────────────────────────────────────────────────┤
  │ event.name        │ "sumo4-sumologic-traces-gateway.18a3b35ca1b133c2" │

The schema of the older events object and the new events are same except, there are 3 new fields available in the newer format for better readability. The older queries will work on the newer events objects as well.

Checklist

  • Changelog updated or skip changelog label added
  • Documentation updated
  • Template tests added for new features
  • Integration tests added or modified for major features

@dhruv-shah-sumo dhruv-shah-sumo force-pushed the sdhruv/k8sobjects_events_receiver branch from a305df5 to 168f8f7 Compare April 5, 2026 12:27
By default helm chart uses raw_k8s_events receiver. The feature flag has to be set
to false in order to use k8sObjects receiver for fetching events.

Signed-off-by: Dhruv Shah <dhruv.shah@sumologic.com>
@dhruv-shah-sumo dhruv-shah-sumo force-pushed the sdhruv/k8sobjects_events_receiver branch from 168f8f7 to 9f5a644 Compare April 5, 2026 12:31
@dhruv-shah-sumo dhruv-shah-sumo marked this pull request as ready for review April 6, 2026 08:24
@dhruv-shah-sumo dhruv-shah-sumo requested a review from a team as a code owner April 6, 2026 08:24
@dhruv-shah-sumo dhruv-shah-sumo merged commit ae7f217 into main Apr 7, 2026
165 of 168 checks passed
@dhruv-shah-sumo dhruv-shah-sumo deleted the sdhruv/k8sobjects_events_receiver branch April 7, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants